package dk.au.cs.bdsi.sms.representation;

import javax.xml.bind.annotation.XmlRootElement;

import dk.au.cs.bdsi.core.representation.CoreLink;
import dk.au.cs.bdsi.core.representation.ServiceUri;

@XmlRootElement(name = "link", namespace = Representation.DAP_NAMESPACE)
public class Link extends CoreLink {
	Link() { /* For JAXB */ }
	
	public Link(String name, ServiceUri uri, String mediaType) {
		super(name, uri, mediaType);
	}
	
	public Link(String name, ServiceUri uri) {
		super(name, uri, Representation.MEDIA_TYPE);
	}
}
